import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    searchList:[],
  },
  mutations: {
    //添加
    searchListContainer(state,searchList){
      state.searchList.push(searchList)
    },
    searchListDelete(state,searchList){
      state.searchList=searchList
    }
  },
  actions: {
  },
  modules: {
  }
})
